package edu.cug.water.crawler.job.entity.committee;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import edu.cug.water.crawler.common.annotation.BeanField;
import edu.cug.water.crawler.job.entity.config.SongLiaoTimeFormatter;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class SongLiaoWater {


    @JSONField(name = "stnm", deserializeUsing = SongLiaoTimeFormatter.class)
    private String stationName;

    @JSONField(name = "tm", deserializeUsing  = SongLiaoTimeFormatter.class)
    private String time;

    @JSONField(name = "z")
    private String waterStage;

    @JSONField(name = "q")
    private String flow;

    @JSONField(name = "wptn")
    private String fluctuation;

    private String createTime;
}
